package com.qf.dao;

import com.qf.entity.User;

import java.util.List;

public interface UserDao {
    /**
     * 通过phone查询单个用户
     */

    User findOneByUser(String phone);

    int add(User user);

    User login(User user);

    User findOne(Integer id);

    int update(User user);
}
